import QtQuick 2.0

Rectangle {
    id: button
    property alias background:button.color;
    property alias textColor: label.color
    property alias text: label.text
    property alias font: label.font
    property alias pressed: mouseArea.pressed


    signal clicked ()

    width: 100
    height: 62

    Text{
        anchors.centerIn: parent
        id: label

        color: "white"
        font{
            pixelSize: parent.height*0.75
            family: "Verdana"
            bold: true
        }
    }

    MouseArea{
        id: mouseArea
        anchors.fill: parent
        onClicked: button.clicked ()
    }
}
